package st.lib.base.log;


import org.aspectj.lang.ProceedingJoinPoint;

/**
 * @author zhangyu
 * @date 2018/9/20
 * 切入点的前后
 * 耗时操作请异步
 */

public interface IBehaviorAction {
    /**
     * 方法调用前
     *
     * @param joinPoint
     */
    void doWithPointBefore(ProceedingJoinPoint joinPoint);

    /**
     * 方法调用后
     *
     * @param joinPoint
     */
    void doWithPointAfter(ProceedingJoinPoint joinPoint);
}
